a = []
b = ()#元组
c = {}  #创建字典
print(type(c))

a = list()
b = tuple()
c = set(),
print(c)

d = {2,4,5,8,7,10,10,1,55,0,}
print(d)

a = {1,2,3,4}
b = {3,4,5,6}

print(a)
print(b)
print(a&b)#交集
print(a-b)#差集
print(a|b)#并集
print(a^b)#
print(max(a))#a中最大值
print(sum(a))#和



a = {
    1:2,
    0:[1,2,3,4],
    -1:{1,2,3,4,5,"world"},
    (0,1,2,3):[1,2,3,4,"world",(1,2,3,4)]

}
print(a[0,1,2,3][1])



f = dict(apple = 2,b =3)
print(f)

